﻿//  Copyright (c) 2011 Ray Liang (http://www.dotnetage.com)
//  Licensed MIT: http://www.opensource.org/licenses/mit-license.php

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;

namespace DNA.Mvc.Management
{
    public class LogDB : DbContext
    {
        public LogDB(string nameOrConnectionString) : base(nameOrConnectionString) { }

        public DbSet<EventLogEntry> WebEvents { get; set; }

        public DbSet<WebRequestEntry> WebRequests { get; set; }

        public DbSet<Spammer> Spammers { get; set; }

    }
}
